package com.bw.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.bw.domain.SysUser;
import com.bw.service.SysUserService;
import com.bw.mapper.SysUserMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author LKK
* @description 针对表【sys_user(用户信息表)】的数据库操作Service实现
* @createDate 2023-08-15 16:14:28
*/
@Service
public class SysUserServiceImpl extends ServiceImpl<SysUserMapper, SysUser>
    implements SysUserService{

    @Autowired
    SysUserMapper sysUserMapper;

    @Override
    public IPage<SysUser> pageList(Page page, SysUser sysUser) {
        return sysUserMapper.pageList(page,sysUser);
    }

    @Override
    public List<SysUser> getDriverList() {
        return baseMapper.getDriverList();
    }
}




